[NW scripts] Choose alternative interface if NFSroot is used.
authorKeir Fraser <keir@xensource.com>
Fri, 5 Oct 2007 09:31:25 +0000 (10:31 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 5 Oct 2007 09:31:25 +0000 (10:31 +0100)
commit6e91413a4050f93d2d668e62ddf10e538f906883
treed19cd69b010cc75047342e81844fb7bbd99f9aab
parent7ee27216bf039c6de27748903bff9511bdd4b067
[NW scripts] Choose alternative interface if NFSroot is used.

Allow the network bridging setup script to choose an alternative
network interface if it is determined that the root is mounted using
NFS, which is assumed to be done over the NIC serving the default
gw. In this case the prefix of the device is used to find other
devices, i.e., if eth0 is the default device an alternative device may
be an other ones starting with 'eth'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/examples/network-bridge